package com.soilflow.common.constant;

import lombok.Data;

/**
 * @author dhp
 * @date 2023/5/5 - 16:58
 */
@Data
public class LandConstants {

    //默认角色为前台用户
    public  static   Long ROLE_IDS[]={103L};

    public enum LandStatus
    {
        /**
         * 未流转
         */
        UNCIRCULATED("0"),
        /**
         * 预挂牌
         */
        TOOPENING("1"),
        /**
         * 公开竞拍
         */
        OPENAUCTION("2"),
        /**
         * 协议转让
         */
        TRANSFER("3"),
        /**
         * 已流转
         */
        CIRCULATED("4");

        private String value;

        private LandStatus(String value)
        {
            this.value = value;
        }

        public String getValue()
        {
            return value;
        }
    }

    public enum LandUsage
    {
        /**
         * 自留用地
         */
        RESERVED("0"),
        /**
         * 流转用地
         */
        CIRCULATION("1");

        private String value;

        private LandUsage(String value)
        {
            this.value = value;
        }

        public String getValue()
        {
            return value;
        }
    }

}
